Q3View_IsBoundingBoxVisible
You can use theQ3View_IsBoundingBoxVisible
function to determine whether a bounding box is visible in a view (that is, whether it lies in the viewing frustum).
TQ3Boolean Q3View_IsBoundingBoxVisible ( TQ3ViewObject view, const TQ3BoundingBox *bbox);
view
- A view.
bbox
- A bounding box.
DESCRIPTION
TheQ3View_IsBoundingBoxVisible
function returns, as its function result, a Boolean value that indicates whether the bounding box specified by thebbox
parameter is visible in the view specified by theview
parameter (kQ3True
) or is not visible (kQ3False
).Q3View_IsBoundingBoxVisible
transforms the specified bounding box by the view's local-to-world transform and then determines whether the box lies in the viewing frustum.